function wn(e, t) {
  const n = /* @__PURE__ */ Object.create(null), o = e.split(",");
  for (let r = 0; r < o.length; r++)
    n[o[r]] = !0;
  return t ? (r) => !!n[r.toLowerCase()] : (r) => !!n[r];
}
const T = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, bn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Dt = () => {
}, On = /^on[^a-z]/, Sn = (e) => On.test(e), D = Object.assign, xn = (e, t) => {
  const n = e.indexOf(t);
  n > -1 && e.splice(n, 1);
}, yn = Object.prototype.hasOwnProperty, E = (e, t) => yn.call(e, t), h = Array.isArray, U = (e) => ye(e) === "[object Map]", $t = (e) => ye(e) === "[object Set]", b = (e) => typeof e == "function", C = (e) => typeof e == "string", We = (e) => typeof e == "symbol", w = (e) => e !== null && typeof e == "object", Vn = (e) => w(e) && b(e.then) && b(e.catch), It = Object.prototype.toString, ye = (e) => It.call(e), Rt = (e) => ye(e).slice(8, -1), Pt = (e) => ye(e) === "[object Object]", Be = (e) => C(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Tt = (e) => {
  const t = /* @__PURE__ */ Object.create(null);
  return (n) => t[n] || (t[n] = e(n));
}, vn = /-(\w)/g, Ee = Tt((e) => e.replace(vn, (t, n) => n ? n.toUpperCase() : "")), Ne = Tt(
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
), we = (e, t) => !Object.is(e, t), Cn = (e, t, n) => {
  Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !1,
    value: n
  });
};
let st;
const $e = () => st || (st = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function Je(e) {
  if (h(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++) {
      const o = e[n], r = C(o) ? Rn(o) : Je(o);
      if (r)
        for (const s in r)
          t[s] = r[s];
    }
    return t;
  } else {
    if (C(e))
      return e;
    if (w(e))
      return e;
  }
}
const Dn = /;(?![^(]*\))/g, $n = /:([^]+)/, In = /\/\*[^]*?\*\//g;
function Rn(e) {
  const t = {};
  return e.replace(In, "").split(Dn).forEach((n) => {
    if (n) {
      const o = n.split($n);
      o.length > 1 && (t[o[0].trim()] = o[1].trim());
    }
  }), t;
}
function qe(e) {
  let t = "";
  if (C(e))
    t = e;
  else if (h(e))
    for (let n = 0; n < e.length; n++) {
      const o = qe(e[n]);
      o && (t += o + " ");
    }
  else if (w(e))
    for (const n in e)
      e[n] && (t += n + " ");
  return t.trim();
}
const Pn = (e) => C(e) ? e : e == null ? "" : h(e) || w(e) && (e.toString === It || !b(e.toString)) ? JSON.stringify(e, Mt, 2) : String(e), Mt = (e, t) => t && t.__v_isRef ? Mt(e, t.value) : U(t) ? {
  [`Map(${t.size})`]: [...t.entries()].reduce((n, [o, r]) => (n[`${o} =>`] = r, n), {})
} : $t(t) ? {
  [`Set(${t.size})`]: [...t.values()]
} : w(t) && !h(t) && !Pt(t) ? String(t) : t;
function it(e, ...t) {
  console.warn(`[Vue warn] ${e}`, ...t);
}
let At;
function Tn(e, t = At) {
  t && t.active && t.effects.push(e);
}
function Mn() {
  return At;
}
const Ie = (e) => {
  const t = new Set(e);
  return t.w = 0, t.n = 0, t;
}, Ft = (e) => (e.w & j) > 0, jt = (e) => (e.n & j) > 0, An = ({ deps: e }) => {
  if (e.length)
    for (let t = 0; t < e.length; t++)
      e[t].w |= j;
}, Fn = (e) => {
  const { deps: t } = e;
  if (t.length) {
    let n = 0;
    for (let o = 0; o < t.length; o++) {
      const r = t[o];
      Ft(r) && !jt(r) ? r.delete(e) : t[n++] = r, r.w &= ~j, r.n &= ~j;
    }
    t.length = n;
  }
}, Re = /* @__PURE__ */ new WeakMap();
let k = 0, j = 1;
const Pe = 30;
let y;
const W = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Te = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
class jn {
  constructor(t, n = null, o) {
    this.fn = t, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, Tn(this, o);
  }
  run() {
    if (!this.active)
      return this.fn();
    let t = y, n = B;
    for (; t; ) {
      if (t === this)
        return;
      t = t.parent;
    }
    try {
      return this.parent = y, y = this, B = !0, j = 1 << ++k, k <= Pe ? An(this) : ct(this), this.fn();
    } finally {
      k <= Pe && Fn(this), j = 1 << --k, y = this.parent, B = n, this.parent = void 0, this.deferStop && this.stop();
    }
  }
  stop() {
    y === this ? this.deferStop = !0 : this.active && (ct(this), this.onStop && this.onStop(), this.active = !1);
  }
}
function ct(e) {
  const { deps: t } = e;
  if (t.length) {
    for (let n = 0; n < t.length; n++)
      t[n].delete(e);
    t.length = 0;
  }
}
let B = !0;
const zt = [];
function Kt() {
  zt.push(B), B = !1;
}
function Ht() {
  const e = zt.pop();
  B = e === void 0 ? !0 : e;
}
function O(e, t, n) {
  if (B && y) {
    let o = Re.get(e);
    o || Re.set(e, o = /* @__PURE__ */ new Map());
    let r = o.get(n);
    r || o.set(n, r = Ie());
    const s = process.env.NODE_ENV !== "production" ? { effect: y, target: e, type: t, key: n } : void 0;
    zn(r, s);
  }
}
function zn(e, t) {
  let n = !1;
  k <= Pe ? jt(e) || (e.n |= j, n = !Ft(e)) : n = !e.has(y), n && (e.add(y), y.deps.push(e), process.env.NODE_ENV !== "production" && y.onTrack && y.onTrack(
    D(
      {
        effect: y
      },
      t
    )
  ));
}
function z(e, t, n, o, r, s) {
  const i = Re.get(e);
  if (!i)
    return;
  let c = [];
  if (t === "clear")
    c = [...i.values()];
  else if (n === "length" && h(e)) {
    const a = Number(o);
    i.forEach((d, l) => {
      (l === "length" || l >= a) && c.push(d);
    });
  } else
    switch (n !== void 0 && c.push(i.get(n)), t) {
      case "add":
        h(e) ? Be(n) && c.push(i.get("length")) : (c.push(i.get(W)), U(e) && c.push(i.get(Te)));
        break;
      case "delete":
        h(e) || (c.push(i.get(W)), U(e) && c.push(i.get(Te)));
        break;
      case "set":
        U(e) && c.push(i.get(W));
        break;
    }
  const u = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: n, newValue: o, oldValue: r, oldTarget: s } : void 0;
  if (c.length === 1)
    c[0] && (process.env.NODE_ENV !== "production" ? le(c[0], u) : le(c[0]));
  else {
    const a = [];
    for (const d of c)
      d && a.push(...d);
    process.env.NODE_ENV !== "production" ? le(Ie(a), u) : le(Ie(a));
  }
}
function le(e, t) {
  const n = h(e) ? e : [...e];
  for (const o of n)
    o.computed && lt(o, t);
  for (const o of n)
    o.computed || lt(o, t);
}
function lt(e, t) {
  (e !== y || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(D({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
}
const Kn = /* @__PURE__ */ wn("__proto__,__v_isRef,__isVue"), Ut = new Set(
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(We)
), Hn = /* @__PURE__ */ Le(), Un = /* @__PURE__ */ Le(!0), Wn = /* @__PURE__ */ Le(!0, !0), ut = /* @__PURE__ */ Bn();
function Bn() {
  const e = {};
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
    e[t] = function(...n) {
      const o = p(this);
      for (let s = 0, i = this.length; s < i; s++)
        O(o, "get", s + "");
      const r = o[t](...n);
      return r === -1 || r === !1 ? o[t](...n.map(p)) : r;
    };
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
    e[t] = function(...n) {
      Kt();
      const o = p(this)[t].apply(this, n);
      return Ht(), o;
    };
  }), e;
}
function Jn(e) {
  const t = p(this);
  return O(t, "has", e), t.hasOwnProperty(e);
}
function Le(e = !1, t = !1) {
  return function(o, r, s) {
    if (r === "__v_isReactive")
      return !e;
    if (r === "__v_isReadonly")
      return e;
    if (r === "__v_isShallow")
      return t;
    if (r === "__v_raw" && s === (e ? t ? Lt : qt : t ? cr : Jt).get(o))
      return o;
    const i = h(o);
    if (!e) {
      if (i && E(ut, r))
        return Reflect.get(ut, r, s);
      if (r === "hasOwnProperty")
        return Jn;
    }
    const c = Reflect.get(o, r, s);
    return (We(r) ? Ut.has(r) : Kn(r)) || (e || O(o, "get", r), t) ? c : x(c) ? i && Be(r) ? c : c.value : w(c) ? e ? Yt(c) : Gt(c) : c;
  };
}
const qn = /* @__PURE__ */ Ln();
function Ln(e = !1) {
  return function(n, o, r, s) {
    let i = n[o];
    if (G(i) && x(i) && !x(r))
      return !1;
    if (!e && (!Me(r) && !G(r) && (i = p(i), r = p(r)), !h(n) && x(i) && !x(r)))
      return i.value = r, !0;
    const c = h(n) && Be(o) ? Number(o) < n.length : E(n, o), u = Reflect.set(n, o, r, s);
    return n === p(s) && (c ? we(r, i) && z(n, "set", o, r, i) : z(n, "add", o, r)), u;
  };
}
function Gn(e, t) {
  const n = E(e, t), o = e[t], r = Reflect.deleteProperty(e, t);
  return r && n && z(e, "delete", t, void 0, o), r;
}
function Yn(e, t) {
  const n = Reflect.has(e, t);
  return (!We(t) || !Ut.has(t)) && O(e, "has", t), n;
}
function Qn(e) {
  return O(e, "iterate", h(e) ? "length" : W), Reflect.ownKeys(e);
}
const Xn = {
  get: Hn,
  set: qn,
  deleteProperty: Gn,
  has: Yn,
  ownKeys: Qn
}, Wt = {
  get: Un,
  set(e, t) {
    return process.env.NODE_ENV !== "production" && it(
      `Set operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  },
  deleteProperty(e, t) {
    return process.env.NODE_ENV !== "production" && it(
      `Delete operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  }
}, Zn = /* @__PURE__ */ D(
  {},
  Wt,
  {
    get: Wn
  }
), Ge = (e) => e, Ve = (e) => Reflect.getPrototypeOf(e);
function ue(e, t, n = !1, o = !1) {
  e = e.__v_raw;
  const r = p(e), s = p(t);
  n || (t !== s && O(r, "get", t), O(r, "get", s));
  const { has: i } = Ve(r), c = o ? Ge : n ? Ze : Xe;
  if (i.call(r, t))
    return c(e.get(t));
  if (i.call(r, s))
    return c(e.get(s));
  e !== r && e.get(t);
}
function ae(e, t = !1) {
  const n = this.__v_raw, o = p(n), r = p(e);
  return t || (e !== r && O(o, "has", e), O(o, "has", r)), e === r ? n.has(e) : n.has(e) || n.has(r);
}
function fe(e, t = !1) {
  return e = e.__v_raw, !t && O(p(e), "iterate", W), Reflect.get(e, "size", e);
}
function at(e) {
  e = p(e);
  const t = p(this);
  return Ve(t).has.call(t, e) || (t.add(e), z(t, "add", e, e)), this;
}
function ft(e, t) {
  t = p(t);
  const n = p(this), { has: o, get: r } = Ve(n);
  let s = o.call(n, e);
  s ? process.env.NODE_ENV !== "production" && Bt(n, o, e) : (e = p(e), s = o.call(n, e));
  const i = r.call(n, e);
  return n.set(e, t), s ? we(t, i) && z(n, "set", e, t, i) : z(n, "add", e, t), this;
}
function pt(e) {
  const t = p(this), { has: n, get: o } = Ve(t);
  let r = n.call(t, e);
  r ? process.env.NODE_ENV !== "production" && Bt(t, n, e) : (e = p(e), r = n.call(t, e));
  const s = o ? o.call(t, e) : void 0, i = t.delete(e);
  return r && z(t, "delete", e, void 0, s), i;
}
function dt() {
  const e = p(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? U(e) ? new Map(e) : new Set(e) : void 0, o = e.clear();
  return t && z(e, "clear", void 0, void 0, n), o;
}
function pe(e, t) {
  return function(o, r) {
    const s = this, i = s.__v_raw, c = p(i), u = t ? Ge : e ? Ze : Xe;
    return !e && O(c, "iterate", W), i.forEach((a, d) => o.call(r, u(a), u(d), s));
  };
}
function de(e, t, n) {
  return function(...o) {
    const r = this.__v_raw, s = p(r), i = U(s), c = e === "entries" || e === Symbol.iterator && i, u = e === "keys" && i, a = r[e](...o), d = n ? Ge : t ? Ze : Xe;
    return !t && O(
      s,
      "iterate",
      u ? Te : W
    ), {
      // iterator protocol
      next() {
        const { value: l, done: f } = a.next();
        return f ? { value: l, done: f } : {
          value: c ? [d(l[0]), d(l[1])] : d(l),
          done: f
        };
      },
      // iterable protocol
      [Symbol.iterator]() {
        return this;
      }
    };
  };
}
function M(e) {
  return function(...t) {
    if (process.env.NODE_ENV !== "production") {
      const n = t[0] ? `on key "${t[0]}" ` : "";
      console.warn(
        `${Ne(e)} operation ${n}failed: target is readonly.`,
        p(this)
      );
    }
    return e === "delete" ? !1 : this;
  };
}
function kn() {
  const e = {
    get(s) {
      return ue(this, s);
    },
    get size() {
      return fe(this);
    },
    has: ae,
    add: at,
    set: ft,
    delete: pt,
    clear: dt,
    forEach: pe(!1, !1)
  }, t = {
    get(s) {
      return ue(this, s, !1, !0);
    },
    get size() {
      return fe(this);
    },
    has: ae,
    add: at,
    set: ft,
    delete: pt,
    clear: dt,
    forEach: pe(!1, !0)
  }, n = {
    get(s) {
      return ue(this, s, !0);
    },
    get size() {
      return fe(this, !0);
    },
    has(s) {
      return ae.call(this, s, !0);
    },
    add: M("add"),
    set: M("set"),
    delete: M("delete"),
    clear: M("clear"),
    forEach: pe(!0, !1)
  }, o = {
    get(s) {
      return ue(this, s, !0, !0);
    },
    get size() {
      return fe(this, !0);
    },
    has(s) {
      return ae.call(this, s, !0);
    },
    add: M("add"),
    set: M("set"),
    delete: M("delete"),
    clear: M("clear"),
    forEach: pe(!0, !0)
  };
  return ["keys", "values", "entries", Symbol.iterator].forEach((s) => {
    e[s] = de(
      s,
      !1,
      !1
    ), n[s] = de(
      s,
      !0,
      !1
    ), t[s] = de(
      s,
      !1,
      !0
    ), o[s] = de(
      s,
      !0,
      !0
    );
  }), [
    e,
    n,
    t,
    o
  ];
}
const [
  er,
  tr,
  nr,
  rr
] = /* @__PURE__ */ kn();
function Ye(e, t) {
  const n = t ? e ? rr : nr : e ? tr : er;
  return (o, r, s) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? o : Reflect.get(
    E(n, r) && r in o ? n : o,
    r,
    s
  );
}
const or = {
  get: /* @__PURE__ */ Ye(!1, !1)
}, sr = {
  get: /* @__PURE__ */ Ye(!0, !1)
}, ir = {
  get: /* @__PURE__ */ Ye(!0, !0)
};
function Bt(e, t, n) {
  const o = p(n);
  if (o !== n && t.call(e, o)) {
    const r = Rt(e);
    console.warn(
      `Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
    );
  }
}
const Jt = /* @__PURE__ */ new WeakMap(), cr = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap();
function lr(e) {
  switch (e) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function ur(e) {
  return e.__v_skip || !Object.isExtensible(e) ? 0 : lr(Rt(e));
}
function Gt(e) {
  return G(e) ? e : Qe(
    e,
    !1,
    Xn,
    or,
    Jt
  );
}
function Yt(e) {
  return Qe(
    e,
    !0,
    Wt,
    sr,
    qt
  );
}
function he(e) {
  return Qe(
    e,
    !0,
    Zn,
    ir,
    Lt
  );
}
function Qe(e, t, n, o, r) {
  if (!w(e))
    return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
  if (e.__v_raw && !(t && e.__v_isReactive))
    return e;
  const s = r.get(e);
  if (s)
    return s;
  const i = ur(e);
  if (i === 0)
    return e;
  const c = new Proxy(
    e,
    i === 2 ? o : n
  );
  return r.set(e, c), c;
}
function J(e) {
  return G(e) ? J(e.__v_raw) : !!(e && e.__v_isReactive);
}
function G(e) {
  return !!(e && e.__v_isReadonly);
}
function Me(e) {
  return !!(e && e.__v_isShallow);
}
function Ae(e) {
  return J(e) || G(e);
}
function p(e) {
  const t = e && e.__v_raw;
  return t ? p(t) : e;
}
function ar(e) {
  return Cn(e, "__v_skip", !0), e;
}
const Xe = (e) => w(e) ? Gt(e) : e, Ze = (e) => w(e) ? Yt(e) : e;
function x(e) {
  return !!(e && e.__v_isRef === !0);
}
function Qt(e) {
  return x(e) ? e.value : e;
}
const fr = {
  get: (e, t, n) => Qt(Reflect.get(e, t, n)),
  set: (e, t, n, o) => {
    const r = e[t];
    return x(r) && !x(n) ? (r.value = n, !0) : Reflect.set(e, t, n, o);
  }
};
function pr(e) {
  return J(e) ? e : new Proxy(e, fr);
}
const q = [];
function dr(e) {
  q.push(e);
}
function hr() {
  q.pop();
}
function _(e, ...t) {
  if (process.env.NODE_ENV === "production")
    return;
  Kt();
  const n = q.length ? q[q.length - 1].component : null, o = n && n.appContext.config.warnHandler, r = _r();
  if (o)
    L(
      o,
      n,
      11,
      [
        e + t.join(""),
        n && n.proxy,
        r.map(
          ({ vnode: s }) => `at <${gn(n, s.type)}>`
        ).join(`
`),
        r
      ]
    );
  else {
    const s = [`[Vue warn]: ${e}`, ...t];
    r.length && s.push(`
`, ...gr(r)), console.warn(...s);
  }
  Ht();
}
function _r() {
  let e = q[q.length - 1];
  if (!e)
    return [];
  const t = [];
  for (; e; ) {
    const n = t[0];
    n && n.vnode === e ? n.recurseCount++ : t.push({
      vnode: e,
      recurseCount: 0
    });
    const o = e.component && e.component.parent;
    e = o && o.vnode;
  }
  return t;
}
function gr(e) {
  const t = [];
  return e.forEach((n, o) => {
    t.push(...o === 0 ? [] : [`
`], ...mr(n));
  }), t;
}
function mr({ vnode: e, recurseCount: t }) {
  const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, r = ` at <${gn(
    e.component,
    e.type,
    o
  )}`, s = ">" + n;
  return e.props ? [r, ...Er(e.props), s] : [r + s];
}
function Er(e) {
  const t = [], n = Object.keys(e);
  return n.slice(0, 3).forEach((o) => {
    t.push(...Xt(o, e[o]));
  }), n.length > 3 && t.push(" ..."), t;
}
function Xt(e, t, n) {
  return C(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : x(t) ? (t = Xt(e, p(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : b(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = p(t), n ? t : [`${e}=`, t]);
}
const Zt = {
  sp: "serverPrefetch hook",
  bc: "beforeCreate hook",
  c: "created hook",
  bm: "beforeMount hook",
  m: "mounted hook",
  bu: "beforeUpdate hook",
  u: "updated",
  bum: "beforeUnmount hook",
  um: "unmounted hook",
  a: "activated hook",
  da: "deactivated hook",
  ec: "errorCaptured hook",
  rtc: "renderTracked hook",
  rtg: "renderTriggered hook",
  0: "setup function",
  1: "render function",
  2: "watcher getter",
  3: "watcher callback",
  4: "watcher cleanup function",
  5: "native event handler",
  6: "component event handler",
  7: "vnode hook",
  8: "directive hook",
  9: "transition hook",
  10: "app errorHandler",
  11: "app warnHandler",
  12: "ref function",
  13: "async component loader",
  14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"
};
function L(e, t, n, o) {
  let r;
  try {
    r = o ? e(...o) : e();
  } catch (s) {
    kt(s, t, n);
  }
  return r;
}
function Fe(e, t, n, o) {
  if (b(e)) {
    const s = L(e, t, n, o);
    return s && Vn(s) && s.catch((i) => {
      kt(i, t, n);
    }), s;
  }
  const r = [];
  for (let s = 0; s < e.length; s++)
    r.push(Fe(e[s], t, n, o));
  return r;
}
function kt(e, t, n, o = !0) {
  const r = t ? t.vnode : null;
  if (t) {
    let s = t.parent;
    const i = t.proxy, c = process.env.NODE_ENV !== "production" ? Zt[n] : n;
    for (; s; ) {
      const a = s.ec;
      if (a) {
        for (let d = 0; d < a.length; d++)
          if (a[d](e, i, c) === !1)
            return;
      }
      s = s.parent;
    }
    const u = t.appContext.config.errorHandler;
    if (u) {
      L(
        u,
        null,
        10,
        [e, i, c]
      );
      return;
    }
  }
  Nr(e, n, r, o);
}
function Nr(e, t, n, o = !0) {
  if (process.env.NODE_ENV !== "production") {
    const r = Zt[t];
    if (n && dr(n), _(`Unhandled error${r ? ` during execution of ${r}` : ""}`), n && hr(), o)
      throw e;
    console.error(e);
  } else
    console.error(e);
}
let be = !1, je = !1;
const I = [];
let F = 0;
const X = [];
let P = null, A = 0;
const en = /* @__PURE__ */ Promise.resolve();
let ke = null;
const wr = 100;
function br(e) {
  const t = ke || en;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function Or(e) {
  let t = F + 1, n = I.length;
  for (; t < n; ) {
    const o = t + n >>> 1;
    oe(I[o]) < e ? t = o + 1 : n = o;
  }
  return t;
}
function et(e) {
  (!I.length || !I.includes(
    e,
    be && e.allowRecurse ? F + 1 : F
  )) && (e.id == null ? I.push(e) : I.splice(Or(e.id), 0, e), tn());
}
function tn() {
  !be && !je && (je = !0, ke = en.then(rn));
}
function nn(e) {
  h(e) ? X.push(...e) : (!P || !P.includes(
    e,
    e.allowRecurse ? A + 1 : A
  )) && X.push(e), tn();
}
function Sr(e) {
  if (X.length) {
    const t = [...new Set(X)];
    if (X.length = 0, P) {
      P.push(...t);
      return;
    }
    for (P = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), P.sort((n, o) => oe(n) - oe(o)), A = 0; A < P.length; A++)
      process.env.NODE_ENV !== "production" && on(e, P[A]) || P[A]();
    P = null, A = 0;
  }
}
const oe = (e) => e.id == null ? 1 / 0 : e.id, xr = (e, t) => {
  const n = oe(e) - oe(t);
  if (n === 0) {
    if (e.pre && !t.pre)
      return -1;
    if (t.pre && !e.pre)
      return 1;
  }
  return n;
};
function rn(e) {
  je = !1, be = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), I.sort(xr);
  const t = process.env.NODE_ENV !== "production" ? (n) => on(e, n) : Dt;
  try {
    for (F = 0; F < I.length; F++) {
      const n = I[F];
      if (n && n.active !== !1) {
        if (process.env.NODE_ENV !== "production" && t(n))
          continue;
        L(n, null, 14);
      }
    }
  } finally {
    F = 0, I.length = 0, Sr(e), be = !1, ke = null, (I.length || X.length) && rn(e);
  }
}
function on(e, t) {
  if (!e.has(t))
    e.set(t, 1);
  else {
    const n = e.get(t);
    if (n > wr) {
      const o = t.ownerInstance, r = o && ot(o.type);
      return _(
        `Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`
      ), !0;
    } else
      e.set(t, n + 1);
  }
}
const Z = /* @__PURE__ */ new Set();
process.env.NODE_ENV !== "production" && ($e().__VUE_HMR_RUNTIME__ = {
  createRecord: ve(yr),
  rerender: ve(Vr),
  reload: ve(vr)
});
const Oe = /* @__PURE__ */ new Map();
function yr(e, t) {
  return Oe.has(e) ? !1 : (Oe.set(e, {
    initialDef: ne(t),
    instances: /* @__PURE__ */ new Set()
  }), !0);
}
function ne(e) {
  return mn(e) ? e.__vccOpts : e;
}
function Vr(e, t) {
  const n = Oe.get(e);
  n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
    t && (o.render = t, ne(o.type).render = t), o.renderCache = [], o.update();
  }));
}
function vr(e, t) {
  const n = Oe.get(e);
  if (!n)
    return;
  t = ne(t), ht(n.initialDef, t);
  const o = [...n.instances];
  for (const r of o) {
    const s = ne(r.type);
    Z.has(s) || (s !== n.initialDef && ht(s, t), Z.add(s)), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (Z.add(s), r.ceReload(t.styles), Z.delete(s)) : r.parent ? et(r.parent.update) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
      "[HMR] Root or manually mounted instance modified. Full reload required."
    );
  }
  nn(() => {
    for (const r of o)
      Z.delete(
        ne(r.type)
      );
  });
}
function ht(e, t) {
  D(e, t);
  for (const n in e)
    n !== "__file" && !(n in t) && delete e[n];
}
function ve(e) {
  return (t, n) => {
    try {
      return e(t, n);
    } catch (o) {
      console.error(o), console.warn(
        "[HMR] Something went wrong during Vue component hot-reload. Full reload required."
      );
    }
  };
}
function Cr(e, ...t) {
}
const Dr = /* @__PURE__ */ $r(
  "component:updated"
  /* COMPONENT_UPDATED */
);
function $r(e) {
  return (t) => {
    Cr(
      e,
      t.appContext.app,
      t.uid,
      t.parent ? t.parent.uid : void 0,
      t
    );
  };
}
let N = null, sn = null;
function _t(e) {
  const t = N;
  return N = e, sn = e && e.type.__scopeId || null, t;
}
function gt(e, t = N, n) {
  if (!t || e._n)
    return e;
  const o = (...r) => {
    o._d && xt(-1);
    const s = _t(t);
    let i;
    try {
      i = e(...r);
    } finally {
      _t(s), o._d && xt(1);
    }
    return process.env.NODE_ENV !== "production" && Dr(t), i;
  };
  return o._n = !0, o._c = !0, o._d = !0, o;
}
const Ir = (e) => e.__isSuspense;
function Rr(e, t) {
  t && t.pendingBranch ? h(e) ? t.effects.push(...e) : t.effects.push(e) : nn(e);
}
const _e = {};
function Pr(e, t, { immediate: n, deep: o, flush: r, onTrack: s, onTrigger: i } = T) {
  var c;
  process.env.NODE_ENV !== "production" && !t && (n !== void 0 && _(
    'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
  ), o !== void 0 && _(
    'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
  ));
  const u = (m) => {
    _(
      "Invalid watch source: ",
      m,
      "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
    );
  }, a = Mn() === ((c = K) == null ? void 0 : c.scope) ? K : null;
  let d, l = !1, f = !1;
  if (x(e) ? (d = () => e.value, l = Me(e)) : J(e) ? (d = () => e, o = !0) : h(e) ? (f = !0, l = e.some((m) => J(m) || Me(m)), d = () => e.map((m) => {
    if (x(m))
      return m.value;
    if (J(m))
      return Q(m);
    if (b(m))
      return L(m, a, 2);
    process.env.NODE_ENV !== "production" && u(m);
  })) : b(e) ? t ? d = () => L(e, a, 2) : d = () => {
    if (!(a && a.isUnmounted))
      return g && g(), Fe(
        e,
        a,
        3,
        [V]
      );
  } : (d = Dt, process.env.NODE_ENV !== "production" && u(e)), t && o) {
    const m = d;
    d = () => Q(m());
  }
  let g, V = (m) => {
    g = $.onStop = () => {
      L(m, a, 4);
    };
  }, v = f ? new Array(e.length).fill(_e) : _e;
  const H = () => {
    if ($.active)
      if (t) {
        const m = $.run();
        (o || l || (f ? m.some(
          (En, Nn) => we(En, v[Nn])
        ) : we(m, v))) && (g && g(), Fe(t, a, 3, [
          m,
          // pass undefined as the old value when it's changed for the first time
          v === _e ? void 0 : f && v[0] === _e ? [] : v,
          V
        ]), v = m);
      } else
        $.run();
  };
  H.allowRecurse = !!t;
  let ce;
  r === "sync" ? ce = H : r === "post" ? ce = () => St(H, a && a.suspense) : (H.pre = !0, a && (H.id = a.uid), ce = () => et(H));
  const $ = new jn(d, ce);
  return process.env.NODE_ENV !== "production" && ($.onTrack = s, $.onTrigger = i), t ? n ? H() : v = $.run() : r === "post" ? St(
    $.run.bind($),
    a && a.suspense
  ) : $.run(), () => {
    $.stop(), a && a.scope && xn(a.scope.effects, $);
  };
}
function Tr(e, t, n) {
  const o = this.proxy, r = C(e) ? e.includes(".") ? Mr(o, e) : () => o[e] : e.bind(o, o);
  let s;
  b(t) ? s = t : (s = t.handler, n = t);
  const i = K;
  vt(this);
  const c = Pr(r, s.bind(o), n);
  return i ? vt(i) : ro(), c;
}
function Mr(e, t) {
  const n = t.split(".");
  return () => {
    let o = e;
    for (let r = 0; r < n.length && o; r++)
      o = o[n[r]];
    return o;
  };
}
function Q(e, t) {
  if (!w(e) || e.__v_skip || (t = t || /* @__PURE__ */ new Set(), t.has(e)))
    return e;
  if (t.add(e), x(e))
    Q(e.value, t);
  else if (h(e))
    for (let n = 0; n < e.length; n++)
      Q(e[n], t);
  else if ($t(e) || U(e))
    e.forEach((n) => {
      Q(n, t);
    });
  else if (Pt(e))
    for (const n in e)
      Q(e[n], t);
  return e;
}
function Ar(e, t) {
  return b(e) ? (
    // #8326: extend call and options.name access are considered side-effects
    // by Rollup, so we have to wrap it in a pure-annotated IIFE.
    /* @__PURE__ */ (() => D({ name: e.name }, t, { setup: e }))()
  ) : e;
}
const Fr = (e) => !!e.type.__asyncLoader, ze = "components";
function mt(e, t) {
  return zr(ze, e, !0, t) || e;
}
const jr = Symbol.for("v-ndc");
function zr(e, t, n = !0, o = !1) {
  const r = N || K;
  if (r) {
    const s = r.type;
    if (e === ze) {
      const c = ot(
        s,
        !1
        /* do not include inferred name to avoid breaking existing code */
      );
      if (c && (c === t || c === Ee(t) || c === Ne(Ee(t))))
        return s;
    }
    const i = (
      // local registration
      // check instance[type] first which is resolved for options API
      Et(r[e] || s[e], t) || // global registration
      Et(r.appContext[e], t)
    );
    if (!i && o)
      return s;
    if (process.env.NODE_ENV !== "production" && n && !i) {
      const c = e === ze ? `
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : "";
      _(`Failed to resolve ${e.slice(0, -1)}: ${t}${c}`);
    }
    return i;
  } else
    process.env.NODE_ENV !== "production" && _(
      `resolve${Ne(e.slice(0, -1))} can only be used in render() or setup().`
    );
}
function Et(e, t) {
  return e && (e[t] || e[Ee(t)] || e[Ne(Ee(t))]);
}
function Kr(e, t, n, o) {
  let r;
  const s = n && n[o];
  if (h(e) || C(e)) {
    r = new Array(e.length);
    for (let i = 0, c = e.length; i < c; i++)
      r[i] = t(e[i], i, void 0, s && s[i]);
  } else if (typeof e == "number") {
    process.env.NODE_ENV !== "production" && !Number.isInteger(e) && _(`The v-for range expect an integer value but got ${e}.`), r = new Array(e);
    for (let i = 0; i < e; i++)
      r[i] = t(i + 1, i, void 0, s && s[i]);
  } else if (w(e))
    if (e[Symbol.iterator])
      r = Array.from(
        e,
        (i, c) => t(i, c, void 0, s && s[c])
      );
    else {
      const i = Object.keys(e);
      r = new Array(i.length);
      for (let c = 0, u = i.length; c < u; c++) {
        const a = i[c];
        r[c] = t(e[a], a, c, s && s[c]);
      }
    }
  else
    r = [];
  return n && (n[o] = r), r;
}
function Hr(e, t, n = {}, o, r) {
  if (N.isCE || N.parent && Fr(N.parent) && N.parent.isCE)
    return t !== "default" && (n.name = t), tt("slot", n, o && o());
  let s = e[t];
  process.env.NODE_ENV !== "production" && s && s.length > 1 && (_(
    "SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."
  ), s = () => []), s && s._c && (s._d = !1), te();
  const i = s && cn(s(n)), c = He(
    ie,
    {
      key: n.key || // slot content array of a dynamic conditional slot may have a branch
      // key attached in the `createSlots` helper, respect that
      i && i.key || `_${t}`
    },
    i || (o ? o() : []),
    i && e._ === 1 ? 64 : -2
  );
  return !r && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), s && s._c && (s._d = !0), c;
}
function cn(e) {
  return e.some((t) => an(t) ? !(t.type === ln || t.type === ie && !cn(t.children)) : !0) ? e : null;
}
const Ke = (e) => e ? oo(e) ? co(e) || e.proxy : Ke(e.parent) : null, re = (
  // Move PURE marker to new line to workaround compiler discarding it
  // due to type annotation
  /* @__PURE__ */ D(/* @__PURE__ */ Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => process.env.NODE_ENV !== "production" ? he(e.props) : e.props,
    $attrs: (e) => process.env.NODE_ENV !== "production" ? he(e.attrs) : e.attrs,
    $slots: (e) => process.env.NODE_ENV !== "production" ? he(e.slots) : e.slots,
    $refs: (e) => process.env.NODE_ENV !== "production" ? he(e.refs) : e.refs,
    $parent: (e) => Ke(e.parent),
    $root: (e) => Ke(e.root),
    $emit: (e) => e.emit,
    $options: (e) => qr(e),
    $forceUpdate: (e) => e.f || (e.f = () => et(e.update)),
    $nextTick: (e) => e.n || (e.n = br.bind(e.proxy)),
    $watch: (e) => Tr.bind(e)
  })
), Ur = (e) => e === "_" || e === "$", Ce = (e, t) => e !== T && !e.__isScriptSetup && E(e, t), Wr = {
  get({ _: e }, t) {
    const { ctx: n, setupState: o, data: r, props: s, accessCache: i, type: c, appContext: u } = e;
    if (process.env.NODE_ENV !== "production" && t === "__isVue")
      return !0;
    let a;
    if (t[0] !== "$") {
      const g = i[t];
      if (g !== void 0)
        switch (g) {
          case 1:
            return o[t];
          case 2:
            return r[t];
          case 4:
            return n[t];
          case 3:
            return s[t];
        }
      else {
        if (Ce(o, t))
          return i[t] = 1, o[t];
        if (r !== T && E(r, t))
          return i[t] = 2, r[t];
        if (
          // only cache other properties when instance has declared (thus stable)
          // props
          (a = e.propsOptions[0]) && E(a, t)
        )
          return i[t] = 3, s[t];
        if (n !== T && E(n, t))
          return i[t] = 4, n[t];
        i[t] = 0;
      }
    }
    const d = re[t];
    let l, f;
    if (d)
      return t === "$attrs" ? (O(e, "get", t), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && O(e, "get", t), d(e);
    if (
      // css module (injected by vue-loader)
      (l = c.__cssModules) && (l = l[t])
    )
      return l;
    if (n !== T && E(n, t))
      return i[t] = 4, n[t];
    if (
      // global properties
      f = u.config.globalProperties, E(f, t)
    )
      return f[t];
    process.env.NODE_ENV !== "production" && N && (!C(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
    // to infinite warning loop
    t.indexOf("__v") !== 0) && (r !== T && Ur(t[0]) && E(r, t) ? _(
      `Property ${JSON.stringify(
        t
      )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
    ) : e === N && _(
      `Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
    ));
  },
  set({ _: e }, t, n) {
    const { data: o, setupState: r, ctx: s } = e;
    return Ce(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && E(r, t) ? (_(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : o !== T && E(o, t) ? (o[t] = n, !0) : E(e.props, t) ? (process.env.NODE_ENV !== "production" && _(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && _(
      `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
    ), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
      enumerable: !0,
      configurable: !0,
      value: n
    }) : s[t] = n, !0);
  },
  has({
    _: { data: e, setupState: t, accessCache: n, ctx: o, appContext: r, propsOptions: s }
  }, i) {
    let c;
    return !!n[i] || e !== T && E(e, i) || Ce(t, i) || (c = s[0]) && E(c, i) || E(o, i) || E(re, i) || E(r.config.globalProperties, i);
  },
  defineProperty(e, t, n) {
    return n.get != null ? e._.accessCache[t] = 0 : E(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
  }
};
process.env.NODE_ENV !== "production" && (Wr.ownKeys = (e) => (_(
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
), Reflect.ownKeys(e)));
function Br() {
  return Jr().slots;
}
function Jr() {
  const e = no();
  return process.env.NODE_ENV !== "production" && !e && _("useContext() called without active instance."), e.setupContext || (e.setupContext = io(e));
}
function Nt(e) {
  return h(e) ? e.reduce(
    (t, n) => (t[n] = null, t),
    {}
  ) : e;
}
function qr(e) {
  const t = e.type, { mixins: n, extends: o } = t, {
    mixins: r,
    optionsCache: s,
    config: { optionMergeStrategies: i }
  } = e.appContext, c = s.get(t);
  let u;
  return c ? u = c : !r.length && !n && !o ? u = t : (u = {}, r.length && r.forEach(
    (a) => Se(u, a, i, !0)
  ), Se(u, t, i)), w(t) && s.set(t, u), u;
}
function Se(e, t, n, o = !1) {
  const { mixins: r, extends: s } = t;
  s && Se(e, s, n, !0), r && r.forEach(
    (i) => Se(e, i, n, !0)
  );
  for (const i in t)
    if (o && i === "expose")
      process.env.NODE_ENV !== "production" && _(
        '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
      );
    else {
      const c = Lr[i] || n && n[i];
      e[i] = c ? c(e[i], t[i]) : t[i];
    }
  return e;
}
const Lr = {
  data: wt,
  props: Ot,
  emits: Ot,
  // objects
  methods: ee,
  computed: ee,
  // lifecycle
  beforeCreate: S,
  created: S,
  beforeMount: S,
  mounted: S,
  beforeUpdate: S,
  updated: S,
  beforeDestroy: S,
  beforeUnmount: S,
  destroyed: S,
  unmounted: S,
  activated: S,
  deactivated: S,
  errorCaptured: S,
  serverPrefetch: S,
  // assets
  components: ee,
  directives: ee,
  // watch
  watch: Yr,
  // provide / inject
  provide: wt,
  inject: Gr
};
function wt(e, t) {
  return t ? e ? function() {
    return D(
      b(e) ? e.call(this, this) : e,
      b(t) ? t.call(this, this) : t
    );
  } : t : e;
}
function Gr(e, t) {
  return ee(bt(e), bt(t));
}
function bt(e) {
  if (h(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++)
      t[e[n]] = e[n];
    return t;
  }
  return e;
}
function S(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function ee(e, t) {
  return e ? D(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function Ot(e, t) {
  return e ? h(e) && h(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : D(
    /* @__PURE__ */ Object.create(null),
    Nt(e),
    Nt(t ?? {})
  ) : t;
}
function Yr(e, t) {
  if (!e)
    return t;
  if (!t)
    return e;
  const n = D(/* @__PURE__ */ Object.create(null), e);
  for (const o in t)
    n[o] = S(e[o], t[o]);
  return n;
}
const St = Rr, Qr = (e) => e.__isTeleport, ie = Symbol.for("v-fgt"), Xr = Symbol.for("v-txt"), ln = Symbol.for("v-cmt"), ge = [];
let R = null;
function te(e = !1) {
  ge.push(R = e ? null : []);
}
function Zr() {
  ge.pop(), R = ge[ge.length - 1] || null;
}
let se = 1;
function xt(e) {
  se += e;
}
function un(e) {
  return e.dynamicChildren = se > 0 ? R || bn : null, Zr(), se > 0 && R && R.push(e), e;
}
function yt(e, t, n, o, r, s) {
  return un(
    dn(
      e,
      t,
      n,
      o,
      r,
      s,
      !0
      /* isBlock */
    )
  );
}
function He(e, t, n, o, r) {
  return un(
    tt(
      e,
      t,
      n,
      o,
      r,
      !0
      /* isBlock: prevent a block from tracking itself */
    )
  );
}
function an(e) {
  return e ? e.__v_isVNode === !0 : !1;
}
const kr = (...e) => hn(
  ...e
), fn = "__vInternal", pn = ({ key: e }) => e ?? null, me = ({
  ref: e,
  ref_key: t,
  ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? C(e) || x(e) || b(e) ? { i: N, r: e, k: t, f: !!n } : e : null);
function dn(e, t = null, n = null, o = 0, r = null, s = e === ie ? 0 : 1, i = !1, c = !1) {
  const u = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && pn(t),
    ref: t && me(t),
    scopeId: sn,
    slotScopeIds: null,
    children: n,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: s,
    patchFlag: o,
    dynamicProps: r,
    dynamicChildren: null,
    appContext: null,
    ctx: N
  };
  return c ? (nt(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= C(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && _("VNode created with invalid key (NaN). VNode type:", u.type), se > 0 && // avoid a block node from tracking itself
  !i && // has current parent block
  R && // presence of a patch flag indicates this node needs patching on updates.
  // component nodes also should always be patched, because even if the
  // component doesn't need to update, it needs to persist the instance on to
  // the next vnode so that it can be properly unmounted later.
  (u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
  // vnode should not be considered dynamic due to handler caching.
  u.patchFlag !== 32 && R.push(u), u;
}
const tt = process.env.NODE_ENV !== "production" ? kr : hn;
function hn(e, t = null, n = null, o = 0, r = null, s = !1) {
  if ((!e || e === jr) && (process.env.NODE_ENV !== "production" && !e && _(`Invalid vnode type when creating vnode: ${e}.`), e = ln), an(e)) {
    const c = xe(
      e,
      t,
      !0
      /* mergeRef: true */
    );
    return n && nt(c, n), se > 0 && !s && R && (c.shapeFlag & 6 ? R[R.indexOf(e)] = c : R.push(c)), c.patchFlag |= -2, c;
  }
  if (mn(e) && (e = e.__vccOpts), t) {
    t = eo(t);
    let { class: c, style: u } = t;
    c && !C(c) && (t.class = qe(c)), w(u) && (Ae(u) && !h(u) && (u = D({}, u)), t.style = Je(u));
  }
  const i = C(e) ? 1 : Ir(e) ? 128 : Qr(e) ? 64 : w(e) ? 4 : b(e) ? 2 : 0;
  return process.env.NODE_ENV !== "production" && i & 4 && Ae(e) && (e = p(e), _(
    "Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
    `
Component that was made reactive: `,
    e
  )), dn(
    e,
    t,
    n,
    o,
    r,
    i,
    s,
    !0
  );
}
function eo(e) {
  return e ? Ae(e) || fn in e ? D({}, e) : e : null;
}
function xe(e, t, n = !1) {
  const { props: o, ref: r, patchFlag: s, children: i } = e, c = t ? Ue(o || {}, t) : o;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: c,
    key: c && pn(c),
    ref: t && t.ref ? (
      // #2078 in the case of <component :is="vnode" ref="extra"/>
      // if the vnode itself already has a ref, cloneVNode will need to merge
      // the refs so the single vnode can be set on multiple refs
      n && r ? h(r) ? r.concat(me(t)) : [r, me(t)] : me(t)
    ) : r,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: process.env.NODE_ENV !== "production" && s === -1 && h(i) ? i.map(_n) : i,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    // if the vnode is cloned with extra props, we can no longer assume its
    // existing patch flag to be reliable and need to add the FULL_PROPS flag.
    // note: preserve flag for fragments since they use the flag for children
    // fast paths only.
    patchFlag: t && e.type !== ie ? s === -1 ? 16 : s | 16 : s,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    // These should technically only be non-null on mounted VNodes. However,
    // they *should* be copied for kept-alive vnodes. So we just always copy
    // them since them being non-null during a mount doesn't affect the logic as
    // they will simply be overwritten.
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && xe(e.ssContent),
    ssFallback: e.ssFallback && xe(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
    ctx: e.ctx,
    ce: e.ce
  };
}
function _n(e) {
  const t = xe(e);
  return h(e.children) && (t.children = e.children.map(_n)), t;
}
function to(e = " ", t = 0) {
  return tt(Xr, null, e, t);
}
function nt(e, t) {
  let n = 0;
  const { shapeFlag: o } = e;
  if (t == null)
    t = null;
  else if (h(t))
    n = 16;
  else if (typeof t == "object")
    if (o & 65) {
      const r = t.default;
      r && (r._c && (r._d = !1), nt(e, r()), r._c && (r._d = !0));
      return;
    } else {
      n = 32;
      const r = t._;
      !r && !(fn in t) ? t._ctx = N : r === 3 && N && (N.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
    }
  else
    b(t) ? (t = { default: t, _ctx: N }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [to(t)]) : n = 8);
  e.children = t, e.shapeFlag |= n;
}
function Ue(...e) {
  const t = {};
  for (let n = 0; n < e.length; n++) {
    const o = e[n];
    for (const r in o)
      if (r === "class")
        t.class !== o.class && (t.class = qe([t.class, o.class]));
      else if (r === "style")
        t.style = Je([t.style, o.style]);
      else if (Sn(r)) {
        const s = t[r], i = o[r];
        i && s !== i && !(h(s) && s.includes(i)) && (t[r] = s ? [].concat(s, i) : i);
      } else
        r !== "" && (t[r] = o[r]);
  }
  return t;
}
let K = null;
const no = () => K || N;
let rt, Y, Vt = "__VUE_INSTANCE_SETTERS__";
(Y = $e()[Vt]) || (Y = $e()[Vt] = []), Y.push((e) => K = e), rt = (e) => {
  Y.length > 1 ? Y.forEach((t) => t(e)) : Y[0](e);
};
const vt = (e) => {
  rt(e), e.scope.on();
}, ro = () => {
  K && K.scope.off(), rt(null);
};
function oo(e) {
  return e.vnode.shapeFlag & 4;
}
function Ct(e) {
  return e.attrsProxy || (e.attrsProxy = new Proxy(
    e.attrs,
    process.env.NODE_ENV !== "production" ? {
      get(t, n) {
        return O(e, "get", "$attrs"), t[n];
      },
      set() {
        return _("setupContext.attrs is readonly."), !1;
      },
      deleteProperty() {
        return _("setupContext.attrs is readonly."), !1;
      }
    } : {
      get(t, n) {
        return O(e, "get", "$attrs"), t[n];
      }
    }
  ));
}
function so(e) {
  return e.slotsProxy || (e.slotsProxy = new Proxy(e.slots, {
    get(t, n) {
      return O(e, "get", "$slots"), t[n];
    }
  }));
}
function io(e) {
  const t = (n) => {
    if (process.env.NODE_ENV !== "production" && (e.exposed && _("expose() should be called only once per setup()."), n != null)) {
      let o = typeof n;
      o === "object" && (h(n) ? o = "array" : x(n) && (o = "ref")), o !== "object" && _(
        `expose() should be passed a plain object, received ${o}.`
      );
    }
    e.exposed = n || {};
  };
  return process.env.NODE_ENV !== "production" ? Object.freeze({
    get attrs() {
      return Ct(e);
    },
    get slots() {
      return so(e);
    },
    get emit() {
      return (n, ...o) => e.emit(n, ...o);
    },
    expose: t
  }) : {
    get attrs() {
      return Ct(e);
    },
    slots: e.slots,
    emit: e.emit,
    expose: t
  };
}
function co(e) {
  if (e.exposed)
    return e.exposeProxy || (e.exposeProxy = new Proxy(pr(ar(e.exposed)), {
      get(t, n) {
        if (n in t)
          return t[n];
        if (n in re)
          return re[n](e);
      },
      has(t, n) {
        return n in t || n in re;
      }
    }));
}
const lo = /(?:^|[-_])(\w)/g, uo = (e) => e.replace(lo, (t) => t.toUpperCase()).replace(/[-_]/g, "");
function ot(e, t = !0) {
  return b(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function gn(e, t, n = !1) {
  let o = ot(t);
  if (!o && t.__file) {
    const r = t.__file.match(/([^/\\]+)\.\w+$/);
    r && (o = r[1]);
  }
  if (!o && e && e.parent) {
    const r = (s) => {
      for (const i in s)
        if (s[i] === t)
          return i;
    };
    o = r(
      e.components || e.parent.type.components
    ) || r(e.appContext.components);
  }
  return o ? uo(o) : n ? "App" : "Anonymous";
}
function mn(e) {
  return b(e) && "__vccOpts" in e;
}
function De(e) {
  return !!(e && e.__v_isShallow);
}
function ao() {
  if (process.env.NODE_ENV === "production" || typeof window > "u")
    return;
  const e = { style: "color:#3ba776" }, t = { style: "color:#0b1bc9" }, n = { style: "color:#b62e24" }, o = { style: "color:#9d288c" }, r = {
    header(l) {
      return w(l) ? l.__isVue ? ["div", e, "VueInstance"] : x(l) ? [
        "div",
        {},
        ["span", e, d(l)],
        "<",
        c(l.value),
        ">"
      ] : J(l) ? [
        "div",
        {},
        ["span", e, De(l) ? "ShallowReactive" : "Reactive"],
        "<",
        c(l),
        `>${G(l) ? " (readonly)" : ""}`
      ] : G(l) ? [
        "div",
        {},
        ["span", e, De(l) ? "ShallowReadonly" : "Readonly"],
        "<",
        c(l),
        ">"
      ] : null : null;
    },
    hasBody(l) {
      return l && l.__isVue;
    },
    body(l) {
      if (l && l.__isVue)
        return [
          "div",
          {},
          ...s(l.$)
        ];
    }
  };
  function s(l) {
    const f = [];
    l.type.props && l.props && f.push(i("props", p(l.props))), l.setupState !== T && f.push(i("setup", l.setupState)), l.data !== T && f.push(i("data", p(l.data)));
    const g = u(l, "computed");
    g && f.push(i("computed", g));
    const V = u(l, "inject");
    return V && f.push(i("injected", V)), f.push([
      "div",
      {},
      [
        "span",
        {
          style: o.style + ";opacity:0.66"
        },
        "$ (internal): "
      ],
      ["object", { object: l }]
    ]), f;
  }
  function i(l, f) {
    return f = D({}, f), Object.keys(f).length ? [
      "div",
      { style: "line-height:1.25em;margin-bottom:0.6em" },
      [
        "div",
        {
          style: "color:#476582"
        },
        l
      ],
      [
        "div",
        {
          style: "padding-left:1.25em"
        },
        ...Object.keys(f).map((g) => [
          "div",
          {},
          ["span", o, g + ": "],
          c(f[g], !1)
        ])
      ]
    ] : ["span", {}];
  }
  function c(l, f = !0) {
    return typeof l == "number" ? ["span", t, l] : typeof l == "string" ? ["span", n, JSON.stringify(l)] : typeof l == "boolean" ? ["span", o, l] : w(l) ? ["object", { object: f ? p(l) : l }] : ["span", n, String(l)];
  }
  function u(l, f) {
    const g = l.type;
    if (b(g))
      return;
    const V = {};
    for (const v in l.ctx)
      a(g, v, f) && (V[v] = l.ctx[v]);
    return V;
  }
  function a(l, f, g) {
    const V = l[g];
    if (h(V) && V.includes(f) || w(V) && f in V || l.extends && a(l.extends, f, g) || l.mixins && l.mixins.some((v) => a(v, f, g)))
      return !0;
  }
  function d(l) {
    return De(l) ? "ShallowRef" : l.effect ? "ComputedRef" : "Ref";
  }
  window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
}
function fo() {
  ao();
}
process.env.NODE_ENV !== "production" && fo();
const po = {
  key: 0,
  class: "pro-tabs-content"
}, ho = /* @__PURE__ */ Ar({
  __name: "index",
  props: {
    tabs: {},
    request: { type: Function },
    tabsAttrs: {},
    defaultValue: {}
  },
  setup(e) {
    const t = e, n = Br();
    return (o, r) => {
      const s = mt("t-tab-panel"), i = mt("t-tabs");
      return te(), He(i, Ue({
        defaultValue: t.defaultValue
      }, t.tabsAttrs), {
        default: gt(() => [
          (te(!0), yt(ie, null, Kr(t.tabs, (c) => (te(), He(s, Ue(c.tabPanelAttrs, {
            value: c.key,
            label: c.label
          }), {
            default: gt(() => [
              Qt(n).default ? Hr(o.$slots, "default", {
                key: c.key
              }) : (te(), yt("p", po, Pn(c.children), 1))
            ]),
            _: 2
          }, 1040, ["value", "label"]))), 256))
        ]),
        _: 3
      }, 16, ["defaultValue"]);
    };
  }
});
const go = {
  install(e) {
    e.component("ProTabs", ho);
  }
};
export {
  go as default
};
